﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RCSP.Common
{
    [Serializable]
    public enum ControlMode
    {
        /// <summary>
        /// Indicates user control is not set to any mode
        /// </summary>
        None = 0,

        /// <summary>
        /// Indicates user control is in edit mode.
        /// </summary>
        Edit = 1,

        /// <summary>
        /// Indicates user control is in create mode.
        /// </summary>
        Create = 2,

        /// <summary>
        /// Indicates user control is in delete mode.
        /// </summary>
        Delete = 3,

        /// <summary>
        /// Indicates user control is in view mode.
        /// </summary>
        View = 4,

        /// <summary>
        /// Indicates user control is in search mode.
        /// </summary>
        Search = 5,
    }
}

